import { RoutesAlias } from '@/router/routesAlias'
import { AppRouteRecord } from '@/types/router'

const meta = {}

const pre = 'nengYuanGuanLi/nengXiaoFenXi-'

export default {
  path: '/nengYuanGuanLi/nengXiaoFenXi',
  name: 'nengXiaoFenXi',
  redirect: {
    name: `${pre}/pingZhongNengHaoFenXi`
  },
  meta: { ...meta, title: '能效分析' },
  component: RoutesAlias.Home,
  children: [
    {
      path: 'pingZhongNengHaoFenXi',
      name: '25100',
      meta: {
        ...meta,
        title: '品种能耗分析'
      }
      // component: () => import('@/pages/nengYuanGuanLi/nengXiaoFenXi/pingZhongNengHaoFenXi')
    },
    {
      path: 'zhuanJianNengHao',
      name: '25200',
      meta: {
        ...meta,
        title: '专件能耗'
      }
      // component: () => import('@/pages/nengYuanGuanLi/nengXiaoFenXi/zhuanJianNengHao')
    }
  ]
} as AppRouteRecord
